﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Warrior
    {
        public bool armsCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (armsPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (armsDungeonCombat())
                    return true;
            }
            else
            {
                if (armsQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool armsHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (armsPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (armsDungeonHeal())
                    return true;
            }
            else
            {
                if (armsQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool armsBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (armsPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (armsDungeonBuff())
                    return true;
            }
            else
            {
                if (armsQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool armsPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (armsPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (armsDungeonPullSpell())
                    return true;
            }
            else
            {
                if (armsQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
